import React, { Component } from 'react'
import bus from './bus'

export default class Brother1 extends Component {
  render () {
    return (
      <div>
        Brother1
        <p>
          <button
            onClick={() => {
              bus.emit('myevent', { province: '广东省', city: '深圳市' })
            }}
          >
            传值给兄弟二
          </button>
        </p>
      </div>
    )
  }
}
